package com.ds.dsfans.liteflow.service;

import java.util.List;
import com.ds.dsfans.liteflow.domain.LiteflowScript;

/**
 * 规则引擎scriptService接口
 * 
 * @author dsfans
 * @date 2024-07-15
 */
public interface ILiteflowScriptService 
{
    /**
     * 查询规则引擎script
     * 
     * @param id 规则引擎script主键
     * @return 规则引擎script
     */
    public LiteflowScript selectLiteflowScriptById(Long id);

    /**
     * 查询规则引擎script列表
     * 
     * @param liteflowScript 规则引擎script
     * @return 规则引擎script集合
     */
    public List<LiteflowScript> selectLiteflowScriptList(LiteflowScript liteflowScript);

    /**
     * 新增规则引擎script
     * 
     * @param liteflowScript 规则引擎script
     * @return 结果
     */
    public int insertLiteflowScript(LiteflowScript liteflowScript);

    /**
     * 修改规则引擎script
     * 
     * @param liteflowScript 规则引擎script
     * @return 结果
     */
    public int updateLiteflowScript(LiteflowScript liteflowScript);

    /**
     * 批量删除规则引擎script
     * 
     * @param ids 需要删除的规则引擎script主键集合
     * @return 结果
     */
    public int deleteLiteflowScriptByIds(String ids);

    /**
     * 删除规则引擎script信息
     * 
     * @param id 规则引擎script主键
     * @return 结果
     */
    public int deleteLiteflowScriptById(Long id);
}
